import { ComponentInternalInstance, VNode } from "vue";

/*
 * @Author: chenhuanhuan 2925102113@qq.com
 * @Date: 2024-12-04 17:32:51
 * @LastEditors: wuheng wuheng@szhbzc.com
 * @LastEditTime: 2025-02-17 11:35:24
 * @FilePath: \hbzc-groupmeal-restaurant-web\src\Public-UIlibrary\pb-message-box\types.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export interface HuiMsgBoxProp {

  /** 控制图标展示的颜色 */
  type: 'info' | 'warning' | 'success' | 'danger',
  /** 弹窗显示的内容 */
  content: string,
  /** 弹窗标题的内容 */
  title: string,
  /** 取消按钮的文本 */
  cancelText: string,
  /** 确定按钮的文本 */
  confirmText: string,
  /** 关闭事件 */
  closeBox: () => void,
  /** 确定事件事件 */
  confirmHandler: () => void,
  /** 取消事件 */
  cancelHandler: () => void,
  //宽度
  Width: number,
  // 控制内容图标的显隐
  showIcon?: boolean,
  connectList: Array<any>
  titleType: string,
  showTitleIcon?: boolean,
  showConfirm?: boolean
}


export interface PayLoadType {
  /** 控制图标展示的颜色 */
  type?: "info" | "success" | "danger" | "warning",
  title?: string,
  /** 取消按钮的文本 */
  cancelText?: string,
  /** 确定按钮的文本 */
  confirmText?: string,
  Width?: number,
  showTitleIcon?: boolean,
  connectList?: Array<any>
  showIcon?: boolean
  titleType?: string,
  showConfirm?: boolean
}
